﻿@page
@model Ninesky.Web.Pages.Admin.Category.IndexModel
@{
    ViewData["Title"] = "栏目管理";
}
@section Nav
    {
    @Html.Partial("NavPartial")
}
<Breadcrumb>
    <Breadcrumb-Item><Icon type="ios-home-outline"></Icon> <a asp-page="/Admin/Home/Index"> 首页</a></Breadcrumb-Item>
    <Breadcrumb-Item><a asp-page="/Admin/Category/Index">栏目管理</a></Breadcrumb-Item>
    </Breadcrumb>
    <card style="padding:8px 20px 8px 8px;">
        <card style="padding:8px 20px 8px 8px;">
            <content-View></content-View>
        </card>
        <script type="text/template" id="category" v-pre>
            <div>
                <Tree :data="treedata" :render="renderContent"></Tree>
                <Spin size="large" fix v-if="spinData.visible">
                    <Icon type="load-c" size=18 class="spin-icon-load"></Icon>
                    <div>{{spinData.message}}</div>
                </Spin>
            </div>
        </script>

        @section Scripts {
            <script src="~/admin/js/models/category.js"></script>
            <script src="~/admin/js/models/spinData.js"></script>
            <script src="~/admin/js/models/categoryTypeList.js"></script>
            <script src="~/admin/js/models/ContnetTypeList.js"></script>
            <script src="~/admin/js/category/index.js"></script>
        }
